package com.ruoyi.ade.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.ade.mapper.AdeLlmLabResultMapper;
import com.ruoyi.ade.domain.AdeLlmLabResult;
import com.ruoyi.ade.service.IAdeLlmLabResultService;

/**
 * Ade LLM Lab ResultService业务层处理
 * 
 * @author wxh
 * @date 2025-06-30
 */
@Service
public class AdeLlmLabResultServiceImpl implements IAdeLlmLabResultService 
{
    @Autowired
    private AdeLlmLabResultMapper adeLlmLabResultMapper;

    /**
     * 查询Ade LLM Lab Result
     * 
     * @param id Ade LLM Lab Result主键
     * @return Ade LLM Lab Result
     */
    @Override
    public AdeLlmLabResult selectAdeLlmLabResultById(Long id)
    {
        return adeLlmLabResultMapper.selectAdeLlmLabResultById(id);
    }

    /**
     * 查询Ade LLM Lab Result列表
     * 
     * @param adeLlmLabResult Ade LLM Lab Result
     * @return Ade LLM Lab Result
     */
    @Override
    public List<AdeLlmLabResult> selectAdeLlmLabResultList(AdeLlmLabResult adeLlmLabResult)
    {
        return adeLlmLabResultMapper.selectAdeLlmLabResultList(adeLlmLabResult);
    }

    /**
     * 新增Ade LLM Lab Result
     * 
     * @param adeLlmLabResult Ade LLM Lab Result
     * @return 结果
     */
    @Override
    public int insertAdeLlmLabResult(AdeLlmLabResult adeLlmLabResult)
    {
        return adeLlmLabResultMapper.insertAdeLlmLabResult(adeLlmLabResult);
    }

    /**
     * 修改Ade LLM Lab Result
     * 
     * @param adeLlmLabResult Ade LLM Lab Result
     * @return 结果
     */
    @Override
    public int updateAdeLlmLabResult(AdeLlmLabResult adeLlmLabResult)
    {
        return adeLlmLabResultMapper.updateAdeLlmLabResult(adeLlmLabResult);
    }

    /**
     * 批量删除Ade LLM Lab Result
     * 
     * @param ids 需要删除的Ade LLM Lab Result主键
     * @return 结果
     */
    @Override
    public int deleteAdeLlmLabResultByIds(Long[] ids)
    {
        return adeLlmLabResultMapper.deleteAdeLlmLabResultByIds(ids);
    }

    /**
     * 删除Ade LLM Lab Result信息
     * 
     * @param id Ade LLM Lab Result主键
     * @return 结果
     */
    @Override
    public int deleteAdeLlmLabResultById(Long id)
    {
        return adeLlmLabResultMapper.deleteAdeLlmLabResultById(id);
    }
}
